package org.jeecg.modules.basic.worker.mapper;

import java.util.List;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Param;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.jeecg.modules.basic.goods.entity.LwgyMaterialGoods;
import org.jeecg.modules.basic.plan.entity.LwgyMaterialPlanapplication;
import org.jeecg.modules.basic.plan.entity.LwgyMaterialPlanapplications;
import org.jeecg.modules.basic.storages.entity.LwgyStoragesNum;
import org.jeecg.modules.basic.worker.entity.LwgyMaterialWorker;
import org.jeecg.modules.basic.worker.entity.LwgyMaterialWorkerUsed;

/**
 * @Description: 物料管理退库表
 * @Author: jeecg-boot
 * @Date:   2021-04-06
 * @Version: V1.0
 */
public interface LwgyMaterialWorkerMapper extends BaseMapper<LwgyMaterialWorker> {
    List<LwgyMaterialWorker> queryPageListCustoms(Page<LwgyMaterialWorker> page, @Param(Constants.WRAPPER) QueryWrapper<LwgyMaterialWorker> queryWrapper, @Param("id")String id);

    List<LwgyMaterialWorker>queryList(@Param("goodsId")String goodsId);

    List<LwgyMaterialWorker>queryLists(@Param("goodsId")String goodsId);

    List<LwgyMaterialWorker> queryPageListCustom(Page<LwgyMaterialWorker> page, @Param(Constants.WRAPPER) QueryWrapper<LwgyMaterialWorker> queryWrapper);

    /*退库*/
    List<LwgyMaterialWorker> queryPageListGoCustom(Page<LwgyMaterialWorker> page, @Param(Constants.WRAPPER) QueryWrapper<LwgyMaterialWorker> queryWrapper);





}
